/*
 This file 'main' is part of Firebird Integrated Solution 1.0

 Copyright (c) 2015 Lincong

 Contact:  
        Email: lincong1987@gmail.com

        QQ: 159257119
 
 See Usage at http://www.jplatformx.com/firebird

 Create date: 2015-01-24 00:24
 */

html, body {
}                            

.aa {
    body {
	margin: 0;
	color: #888;
	padding: 0 0 100px 0;
	background: #F5F5F5;
    }
}

body, html, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, header, menu, section, p, input, td, th {
    padding: 0;
    margin: 0;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    border: 0
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    height: 8px
}

::-webkit-scrollbar-thumb {
    background-color: #ddd
}

.after() {
    &:after {
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
	content: ".";
    }
}

@import "../icons/icons";

.ui-main {

    margin: 20px 50px 20px 50px;

    &.no-marin {
	margin: 0;
    }

    .ui-main-fieldset {
	height: 33px;
	border-bottom: 2px solid #888;
	margin-bottom: 20px;
	.after();
	position: relative;

	.ui-main-fieldset-title {
	    position: absolute;
	    a {
		float: left;
	    }
	    > span {
		font-size: 14px;
		font-weight: bold;
		line-height: 28px;
		color: #888;
	    }
	}

	.ui-main-fieldset-actions {
	    position: absolute;
	    right: 0;
	    line-height: 28px;
	    height: 28px;
	    a {
		float: right;
	    }
	}

    }

    .ui-main-search {

	margin: 0 auto 20px auto;

	.ui-main-search-table {
	    width: 100%;

	    caption {
		display: none;
	    }

	    tr {
		th {
		    font-size: 14px;
		    color: #888;
		    text-align: right;
		    padding-right: 4px;
		    padding-bottom: 4px;
		}

		td {
		    padding-bottom: 4px;
		}
	    }

	}

	.ui-main-search-grid {
	    .after();
	    position: relative;

	    table {
		width: 100%;
		tr {
		    th {
			padding-right: 15px;
			font-weight: normal;
			color: #555;
			font-size: 12px;
		    }
		    td {
			height: 35px;
		    }
		}
	    }

	    .ui-main-search-grid-left {
		float: left;
		width: 50%;
		table {
		    tr {
			th {
			    padding-right: 15px;
			    font-weight: normal;
			    color: #555;
			    font-size: 12px;
			}
			td {
			    height: 35px;
			}
		    }
		}
	    }

	    .ui-main-search-grid-right {
		float: right;
		width: 50%;
		text-align: right;
		table {
		    float: right;
		    tr {
			th {
			    padding-right: 15px;
			    font-weight: normal;
			    color: #555;
			    font-size: 12px;
			}
			td {
			    height: 35px;
			}
		    }
		}
	    }
	}

	.ui-main-search-actions {
	    margin-top: 20px;
	    text-align: center;
	    .ui-main-search-actions-button {
	    }
	}
    }

    .ui-main-grid {
	.ui-main-grid-table {
	    table {
		width: 100%;
		caption {
		    display: none;
		}
		tr {
		    th {
			font-size: 12px;
		    }
		    td {
		    }
		}
	    }
	}
    }
}

//.modal-theme-dark {
.ui-singleselect-default,
.ui-multiselect-default,
.ui-treeselect-default {
    &::-webkit-scrollbar {
	width: 8px;
	height: 8px;
    }

    &::-webkit-scrollbar-thumb {
	background-color: #C2C2C2;
	border: none;
	background-clip: padding-box;
	min-height: 28px;
    }
    &::-webkit-scrollbar-track-piece {
	background-color: #F5F5F5;
	border: none;
    }

    .ztree {
	li {
	    a {
		height: auto;
		span {
		    font-size: 12px;
		    white-space: normal;
		    word-break: normal;
		}
	    }
	}
    }
}

.ui-combo-wrap {
    overflow: visible;
    .input-txt {
	width: 134px;
    }
}

.ui-multiselect {
    overflow-x: hidden;
}

.ui-treeselect-default {
    overflow-x: auto;
}

.ui-builder {
    .ui-builder-container {
	.ui-builder-form {
	    form {
		.fieldset {
		    table {
			tr {
			    td {
			    }
			}
		    }
		}
	    }
	}
    }
}

//}